package com.igd.pojo.vo;

import java.util.List;

/**
 * @createDate 2013-6-28
 * 
 * @author QIAOYU
 * 
 * @version 1.0
 * 
 * @description Ajax数据返回扩展类
 */

public class ExtData<T> {

	public static final String FAIL = "300";
	
	public static final String SUCCESS = "200";
	
	public static final String TIME_OUT = "301";
	
	/** 请求返回状态,00为成功,99为失败,默认为成功状态 */
	private String statusCode = SUCCESS;
	
	/** 请求返回消息 */
	private String message;
	
	/** 请求返回数据长度 */
	private String rspDataSize = "0";

	/** 请求返回数据集合 */
	private List<T> rspData;

	private String navTabId;
	
	private String rel;
	
	private String callbackType;

	private String forwardUrl;
	
	private String confirmMsg;
	
	public String getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRspDataSize() {
		return rspDataSize;
	}

	public void setRspDataSize(String rspDataSize) {
		this.rspDataSize = rspDataSize;
	}

	public List<T> getRspData() {
		return rspData;
	}

	public void setRspData(List<T> rspData) {
		this.rspData = rspData;
	}

	public String getNavTabId() {
		return navTabId;
	}

	public void setNavTabId(String navTabId) {
		this.navTabId = navTabId;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getCallbackType() {
		return callbackType;
	}

	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}

	public String getForwardUrl() {
		return forwardUrl;
	}

	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}

	public String getConfirmMsg() {
		return confirmMsg;
	}

	public void setConfirmMsg(String confirmMsg) {
		this.confirmMsg = confirmMsg;
	}
}
